import { GithubOutlined } from '@ant-design/icons';
import { DefaultFooter } from '@ant-design/pro-components';
import React from 'react';

const Footer: React.FC = () => {
  return (
    <DefaultFooter
      style={{
        background: 'none',
      }}
      copyright={
        <>
          <span>{`${new Date().getFullYear()} atlin.林 | `}</span>
          <a target="_blank" href="https://beian.miit.gov.cn/" rel="noreferrer">
            滇ICP备2024039307号-1
          </a>
        </>
      }
      links={[
        {
          key: '项目',
          title: '蓝界航标API接口平台',
          href: 'https://pro.ant.design',
          blankTarget: true,
        },
        {
          key: 'github',
          title: <GithubOutlined />,
          href: 'https://github.com/atlinsky',
          blankTarget: true,
        },
      ]}
    />
  );
};

export default Footer;
